using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameSetting : BasePanel
{
    static readonly string path = "UI/Panel/GameSetting";
    public GameSetting() : base(new UIType(path)) { }
    public override void OnEnter()
    {
        uitool.GetOrAddComponentInChildren<Button>("ExitButton").onClick.AddListener(() =>
        {
            panelmanager.Pop();
        });
    }
    public override void OnExit()
    {
        base.OnExit();
    }
}
